package behavior.strategy.impl;

import behavior.strategy.AbsCalculator;
import behavior.strategy.ICalculator;

public class Plus extends AbsCalculator implements ICalculator {

	@Override
	public int calculate(String exp) {
		int[] arrayInt = split(exp, "\\+");
		return arrayInt[0] + arrayInt[1];
	}

}
